package com.yonyou.gmmc.service.points.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_POINTS_RULE")
public class TmPointsRule {
    @Id
    @Column(name = "RULE_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TM_POINTS_RULE")
    private Long ruleId;

    @Column(name = "RULE_NAME")
    private String ruleName;

    @Column(name = "BC_ID")
    private Long bcId;

    @Column(name = "TC_ID")
    private Long tcId;

    @Column(name = "BC_NAME")
    private String bcName;

    @Column(name = "TC_NAME")
    private String tcName;

    @Column(name = "POINTS_NUM")
    private Long pointsNum;

    @Column(name = "REMARK")
    private String remark;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    /**
     * @return RULE_ID
     */
    public Long getRuleId() {
        return ruleId;
    }

    /**
     * @param ruleId
     */
    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }

    /**
     * @return RULE_NAME
     */
    public String getRuleName() {
        return ruleName;
    }

    /**
     * @param ruleName
     */
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    /**
     * @return BC_ID
     */
    public Long getBcId() {
        return bcId;
    }

    /**
     * @param bcId
     */
    public void setBcId(Long bcId) {
        this.bcId = bcId;
    }

    /**
     * @return TC_ID
     */
    public Long getTcId() {
        return tcId;
    }

    /**
     * @param tcId
     */
    public void setTcId(Long tcId) {
        this.tcId = tcId;
    }

    /**
     * @return BC_NAME
     */
    public String getBcName() {
        return bcName;
    }

    /**
     * @param bcName
     */
    public void setBcName(String bcName) {
        this.bcName = bcName;
    }

    /**
     * @return TC_NAME
     */
    public String getTcName() {
        return tcName;
    }

    /**
     * @param tcName
     */
    public void setTcName(String tcName) {
        this.tcName = tcName;
    }

    /**
     * @return POINTS_NUM
     */
    public Long getPointsNum() {
        return pointsNum;
    }

    /**
     * @param pointsNum
     */
    public void setPointsNum(Long pointsNum) {
        this.pointsNum = pointsNum;
    }

    /**
     * @return REMARK
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}